package com.own.demo.lwf.sentence;/**
 * @author liwenfeng
 * @date 2022/8/28 0028
 * @apinote
 */

/**
 * @version v1.0
 * @Description:
 * @Author Administrator
 * @Date 2022/8/28 0028 15:32
 * @copyright 李文峰
 */
public class ForIf {
    public static void main(String[] args) {
       String[] a = new String[]{"9","6","4","1","5"};


        for (int i = 0; i < a.length; i++) {
            // System.out.println(list.get(i));
            if(a[i].equals("1")){
                System.out.println("数组存在1");
            }
        }
    }
}
